Image recognition result culling

ABSTRACT

Various embodiments enable an image recognition system reduce the number image match candidates before running a full-fledged pair-wise match on all image match candidates. In order to accomplish this, each inventory image can be assigned to a group. For example, a title for a book sold by an electronic marketplace could be available in multiple languages, in multiple bindings, and the book could be available in print, audio book, or electronic book. Each one of these variations could be associated with its own similarly looking inventory image, each of which could be returned as a valid match to a query image for the book. Accordingly, the inventory images for these variations could be assigned to a group for the book and, instead of geometrically processing an image for each variation, the image match system can process a single image representing all of the variations.

BACKGROUND

Image matching is a technique being used in computer vision, objectrecognition, motion tracking, three-dimensional (3D) modeling, and thelike, which can be performed to check whether two images contain thesame content. For example, a user interested in determining availabilityof a book can capture an image of the book and submit the image to animage matching service as a query image in order to be provided withinformation associated with the book in return. In order to accomplishthis, a conventional object recognition system receives a number of toppotentially matching candidates for the query image from an image matchindex, where each of these candidates is given a search score. Thesecandidates are subsequently sorted by their search score, and the topresults are chosen for further processing. A minimum and maximum numberof candidates are used to determine these top results. Such a matchingsystem then geometrically processes these candidates, filtering outnon-matching candidates along the way. Geometric processing, however, isan expensive, yet necessary step for preventing nonmatching and,therefore, incorrect candidates from being displayed to a user.

Accordingly, once a corresponding match is identified, informationassociated with the matching candidate (e.g., information for purchasingthe book) can be provided and displayed to the user on their computingdevice. As similar more images begin to look similar or are nearduplicates of each other, however, the ideal match (visual and/orrelevant) may not end up being in the number of top potentially matchingcandidates for a variety of reasons, such as poor quality databaseimages, distracting query image features causing the wrong results to begiven higher scores, different scales between the query and databaseimages, and the like. This problem can be addressed by increasing themaximum number of candidates to be geometrically process, however,geometrically verifying each match is computationally expensive andincreasing the number of candidates can add significant latency to eachquery and is, therefore, not considered a practical solution.Accordingly, a method for processing a larger number of candidateimages, that does not significantly increasing latency, is desirable.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments in accordance with the present disclosure will bedescribed with reference to the drawings, in which:

FIG. 1 illustrates an example of a user capturing an image of an item tosubmit as a query image using computing device in accordance with atleast one embodiment;

FIG. 2 illustrates an example image match run-time system flow forculling image match candidates in accordance with at least oneembodiment;

FIG. 3 illustrates example matched images from a search index inaccordance with at least one embodiment;

FIG. 4 illustrates example matched images being sent for geometricverification in accordance with at least one embodiment;

FIG. 5 illustrates example matched images grouped by item in accordancewith at least one embodiment;

FIG. 6 illustrates example culled matched images being sent forgeometric verification in accordance with at least one embodiment;

FIG. 7 illustrates an example pre-processing flow whereby images areassigned to groups for culling image match candidates in accordance withat least one embodiment;

FIG. 8 illustrates an example run-time flow for culling image matchcandidates in accordance with at least one embodiment;

FIGS. 9A and 9B illustrate an example computing device that can be usedto implement aspects of various embodiments;

FIG. 10 illustrates example components that can be used with a devicesuch as that illustrated in FIGS. 9A and 9B; and

FIG. 11 illustrates an environment in which various embodiments can beimplemented.

DETAILED DESCRIPTION

Systems and methods in accordance with various embodiments of thepresent disclosure may overcome one or more of the aforementioned andother deficiencies experienced in conventional approaches to providinginformation based at least in part upon a target image or other suchobject. In particular, various approaches may allow for an imagerecognition system to cull or reduce the number of a set of image matchcandidates before running a full-fledged pair-wise match on all imagematch candidates. Accordingly, as the size of image collections used formatching images becomes larger, the number of similar to near duplicateimages has increased. Therefore, as more images are indexed, it isbecoming increasingly possible to get several dozen valid matches for asingle query image. Not only is geometrically verifying all of thesevalid matches computationally expense and redundant, it creates issues,such as determining which of these valid matches is the best or mostideal to provide to a user or whether the most ideal match was evenwithin the top matches to be geometrically verified.

In order to address at least some of these issues, the image matchcandidates can be clustered into groups or equivalence classes atruntime. For example, a title for a book sold by an electronicmarketplace could be available in multiple languages, in multiplebindings, the book could be available in print, audio book, orelectronic book (i.e., E-reader), and further sold by the electronicmarketplace and additionally by third-party sellers. Each one of thesevariations could be associated with its own similarly looking inventoryimage, each of which could be returned as a valid match to a query imagefor the book. Accordingly, in this example, the image match candidatesassociated with each of these variations could be clustered into groupfor the book and, instead of geometrically processing an image for eachof these variations, the image match system can process a single imagerepresenting all of these variations.

Various other functions and advantages are described and suggested belowas may be provided in accordance with the various embodiments.

FIG. 1 illustrates example situation 100 wherein user 102 is interactingwith computing device 106. Although a portable computing device (e.g., asmart phone, an e-book reader, or tablet computer) is shown, it shouldbe understood that various other types of electronic devices that arecapable of determining and processing input can be used in accordancewith various embodiments discussed herein. These devices can include,for example, desktop computers, notebook computers, personal dataassistants, cellular phones, video gaming consoles or controllers, smarttelevisions, a wearable computer (e.g., a smart watch or glasses), andportable media players, among others.

In this example, computing device 106 has at least one image captureelement, such as a camera or camera sensor, operable to performfunctions such as image and/or video capture. Each image capture elementmay be, for example, a charge-coupled device (CCD), a motion detectionsensor, or an infrared sensor, or can utilize another appropriate imagecapturing technology. In this example, user 102 is interested inobtaining information about item 104 which, in this example, is abiography of John Smith available for purchase in a store. Theinformation that the user is interested in obtaining could include, forexample, information related to the product's manufacture, stockavailability information at another store or electronic marketplace,price information to see whether item 104 is cheaper from anotherretailer, or the like.

In order to obtain this information, user 102 can position computingdevice 106 such that at least the relevant portion of item 110 is withina field of view of at least one camera of the computing device. Theresulting image 108 can then be displayed on a display screen of thecomputing device. Image 108 can be a still image that was captured bythe camera, or can be a frame of a “live” view as captured by a videomode of the camera, etc. Using a conventional approach, user 102 cancause image 108 to be captured and uploaded to server 110 of, forexample, an image matching service and, therefore, capable of runningone or more image analysis or object recognition algorithms to attemptto recognize item 104 within image 108.

FIG. 2 illustrates an example system flow 200 for an example an imagematching service when image 108 is uploaded to server 110 in accordancewith at least one embodiment. It should be understood that, for this andother processes discussed herein, there can be additional, fewer, oralternative steps, performed in similar or alternative steps, or inparallel, within the scope of the various embodiments unless otherwisestated. In this example, image database 202 contains images of inventoryitems. First, before image 108 is uploaded, feature descriptors areextracted 204 from each image contained in or added to image database202. Such an image matching service will often obtain multiple images ofobjects from different angles in order to be able to match an image of arespective object, such as image 108, from more than one angle orperspective. Typical image matching algorithms take advantage of thefact that an image of an object or scene contains a number of featurepoints (i.e., specific points in an image which are robust to changes inimage rotation, scale, viewpoint or lighting conditions). Accordingly,this means that these feature points will often be present in both oftwo different images of an object or scene, even if the two imagesdiffer. Feature (Vector) descriptors describing each of at least asubset of features of each database image are determined to createinventory feature descriptors for database image 202. The featuredescriptors may be extracted using a feature extraction algorithm, suchas Accumulated Signed Gradient (ASG), a Scale-Invariant FeatureTransform (SIFT) algorithm or the like. In one example, image database202 does not exist and the actual images are discarded once the featureshave been extracted therefrom.

A clustering process 206 can then map each feature descriptor to acluster center (i.e., feature quantization) using any suitableclustering algorithm (e.g., Hierarchical K-means, etc.). After thefeature descriptors are clustered, the cluster centers can be assignedvisual words or mapped to each of their own respective closest visualword. A visual word ID along with a corresponding cluster center arestored in visual word database 208 (e.g., Code Book) that can be used tolook up a cluster center via a visual word or look up a visual word viaa cluster center. Each visual word represents a small part of an imageby carrying some kind of information related to its respectiverepresentative feature (e.g., color, shape, texture, etc.), or changesoccurring in the pixels such as the filtering, low-level featuredescriptors, and the like. Accordingly, a collection of visual words(i.e., a vocabulary) together provides information about a respectiveimage and the content therein. This vocabulary or representation canenable the use of standard text search and retrieval techniques forimage retrieval. This technique of treating image features as words isalso known as a bag-of-words model (BoW). BoW can be considered a vectorof occurrence counts of words describing an image, which can berepresented in a histogram over local image features, for example.

In this example, the features are clustered into a value associated withtheir nearest corresponding cluster center. The cluster centers thatgeometrically describe each image are then stored in features database210. Accordingly, words from visual word database 208 are assigned toeach cluster center 212 and the visual words along with document IDs forimages that they describe are stored in index 214 (e.g., a LuceneIndex). Since the cluster centers (i.e., local feature descriptors) eachcorrespond to a visual word in index 214, the numbers of times eachrespective visual word appears in a respective image can be determined.Each image can, therefore be described using a histogram of visualwords. Accordingly, index 214 of visual words to images can be madeavailable for image matching.

Accordingly, computing device 106 sends image 108 as a query image toserver 110 of the image matching service where, upon receiving image108, the service extracts query features 216 and calculates queryfeatures descriptors from the same using ASG or any other suitablefeature extraction algorithm, as similarly discussed above. After thefeatures are extracted, visual words are assigned 218 using the visualwords from visual word database 208. These assigned words are thencompared against index 214 by index searcher 220 to identify or extractthe best tf-idf image matches 222. Tf-idf (term frequency-inversedocument frequency) is a statistic reflecting how important an assignedword is to a respective image in index 214 and is used as a weightingfactor. When retrieving matching images, each query visual wordessentially votes on its matched images and the tf-idf value increasesproportionally to the number matching visual words. Accordingly, thematched images can be ranked by the sum of their respective weightedvotes.

For example, FIG. 3 illustrates example matched images 300 correspondingto a set of closest matching inventory images that could be returned byindex 214 based on a number of matching visual words. In this example,there are fifteen matched images 300 which include images for thebiography of John Smith, but also images for the biographies of BenFranklin and George Washington. Further, among these fifteen matchedimages 300 are different versions of each of these biographies. In thisexample, index 214 has returned the Spanish version 302, German version304, Audio Book version 310, Italian version 312, and English version318 of the biography of John Smith, Spanish version 306 and Englishversion 314 of the biography of George Washington, and the Englishversion 308 and Spanish version 316 of the biography of Ben Franklin.Since geometric verification 224 is a computationally expensive stepthat adds significant latency as more images are added, only a limitednumber of top matches can be processed. Accordingly, as the size ofimage collections used for matching images becomes larger, the number ofsimilar to near duplicate images has increased. Therefore, as moreimages are indexed, it is becoming increasingly possible to get severaldozen valid matches for a single query image.

Accordingly, in this example, there is a maximum candidate cut off 322that allows only the top ten matches of matched images 300 to be sentfor geometric verification 224. As more images begin to look similar orare near duplicates of each other, the ideal match (English version 318)may not end up being in the number of closest matching inventory images.Accordingly, in this example, user 102 is trying to obtain informationfor English version 318 of the biography of John Smith which is notwithin the top ten matches. This can happen for a variety of differentreasons including poor quality database or inventory images, distractingquery image features causing the wrong results to be given higherscores, different scales between the query and database images, and thelike.

FIG. 4 illustrates matched images 300 above maximum candidate cut off322 being returned sent from best tf-idf image matches 222 for geometricverification 224, where the ideal match, image for English version 318of the biography of John Smith is not be sent. As a result, geometricverification 224 is performed on a set of images that does not includethe ideal match and user 102 will, therefore, not be provided with thewith most ideal information for item 104. This problem can be addressedby increasing the maximum candidate cut off 322 to enable more images begeometrically processed, however, since geometrically verifying eachmatch adds to the computational complexity and latency, this is not apractical solution.

In at least one embodiment, an image recognition system can cull orreduce the number of matched images 300 before running geometricverification 224 on each of matched images 300. Not only isgeometrically verifying all of these valid matches computationallyexpense and redundant, it creates issues, such as determining which ofthese valid matches is the best or most ideal to provide to a user orwhether the most ideal match was even within the top matches to begeometrically verified.

In order to address this issue, FIG. 5 illustrates matched images 300grouped by item in accordance with at least one embodiment. In thisexample, the matched images can be clustered into groups or equivalenceclasses at runtime based on overlapping visual words. In this example,Spanish version 302, German version 304, Audio Book version 310, Italianversion 312, and English version 318 of the biography of John Smith havebeen grouped into a first group 502 for the Life of John Smith, Spanishversion 306, English version 314, and three other versions of thebiography of George Washington have been grouped into a second group 504for George Washington, and the English version 308, Spanish version 316,and three other version of the biography of Ben Franklin have beengrouped into a third group 506 for Ben Franklin. Each one of thevariations in these groups (502, 504, 506) being grouped together basedon having a threshold number of the visual words in common with eachother, such that each image (i.e., different versions of the sameproduct/image) with a respective group could be returned as a validmatch to a query image.

Accordingly, in this example, all matched images 300 for each of thesevariations clustered into a group (502, 504, 506) for the respectivebook and, instead of geometrically processing each and every one ofmatched images 300 above maximum candidate cut off 322 for eachredundant variation, the image match system can process a single imagethat represents all of these variations. In this example, first group502 has representative image 512, second group 504 has representativeimage 514, and third group 506 has representative image 516 that can besent for geometric verification 224.

FIG. 6 illustrates representative images 500 being sent for geometricverification 224 in accordance with at least one embodiment. In thisexample, instead sending each and every one of matched images 300 abovemaximum candidate cut off 322 for geometric verification 224, the numberof groups represented among matched images 300 is determined. In thisexample, representative image 512 can be used to represent each of theimages in group 502, representative image 514 can be used to representeach of the images in group 504, and representative image 516 can beused to represent each of the images in group 506. Accordingly, each ofmatched images 300 is associated with one of groups (502, 504, 506) andinstead of geometrically processing the ten matched images 300 abovemaximum candidate cut off 322, representative images 500 are sent forgeometric verification 224. Accordingly, geometric feature verification224 of representative images 500 is performed by comparing the queryfeature descriptors to the cluster centers of each of representativeimages 500. At this stage, a look up table can be used to look upcluster centers of corresponding assigned words that match the queryassigned words. Accordingly, the corresponding cluster centers areretrieved from feature database 210 and compared to the extracted queryfeatures descriptors 216 using a geometric verification algorithm, suchas RANSAC. Therefore, instead of geometrically processing ten imagesthat include redundancies, only three images are processed. Accordingly,since every existing variation of an item is represented by its group,an image associated with the most ideal item will be sent for geometricverification 224 even if it is the 1000^(th) match as determined by besttf-idf image matches 222.

In this example, geometric verification 224 returns representative image512 corresponding to group 502 for the Life of John Smith as the topmatching group. At this stage in the process, English version 318 of thebiography of John Smith (ideal match 320) has not yet been identified asthe best match for user 102, however, the image corresponding to thevisual appearance of English version 318 and every other version of thebiography of John Smith represented by that cover, artwork, or image hasbeen identified as a match. Accordingly, each version of the biographyof John Smith or member of first group 502 is determined as a match andsent for non-visual scoring 226 taking into account features, such as anumber of sales, freshness, seasonality, review count, projectedshipping time, or user preferences for each item or version associatedwith first group 502. For example, matched images 300 could includemultiple product listings for the same English version of the biographyof John Smith sold by multiple third-party sellers and one that is soldby an electronic marketplace. In this example, each version would beconsidered a valid match, however, the listing provided by theelectronic marketplace could provide superior shipping compared to thethird-party sellers, which could be important user 102. Based on thisscoring, English version 318 is identified as the top match 228 andinformation for English version 318 can be sent for display to user 102on computing device 106.

FIG. 7 illustrates an example pre-processing flow 700 whereby images areassigned to groups for culling image match candidates in accordance withat least one embodiment. It should be understood that, for this andother processes discussed herein, there can be additional, fewer, oralternative steps, performed in similar or alternative steps, or inparallel, within the scope of the various embodiments unless otherwisestated. In this example, inventory images of items, such as products,landmarks, or other objects, are acquired by a system for indexing 702.

In this example, feature descriptors are extracted from each of theinventory image 704. Feature (Vector) descriptors describing each of atleast a subset of features of each inventory image are determined tocreate inventory feature descriptors for a database. The featuredescriptors may be extracted using a feature extraction algorithm, suchas Accumulated Signed Gradient (ASG), a Scale-Invariant FeatureTransform (SIFT) algorithm or the like. In this example, the featuresare clustered 706 into a value associated with their nearestcorresponding cluster center 708. The cluster centers that geometricallydescribe each image are then stored in features database. Accordingly,words from a visual words database are assigned to each cluster center710 and the visual words along with document IDs for images that theydescribe are stored in index (e.g., a Lucene Index). Each of theinventory images, in this example is assigned to a product group 712.For example, different versions of an item corresponding to theinventory images can be classified into disjoint sets of equivalentimages based on overlapping visual words. Alternatively, the inventoryimages can be manually associated with or assigned to a group when theyare indexed or inputted into a database. Since the cluster centers(i.e., local feature descriptors) each correspond to a visual word inindex 714, the numbers of times each respective visual word appears in arespective image can be determined. Each image can, therefore bedescribed using a histogram of visual words.

FIG. 8 illustrates an example run-time flow 800 for culling image matchcandidates in accordance with at least one embodiment. In this example,a query image from a computing device is received 802. Upon receivingimage, an image match service extracts query features 804 and calculatesquery features descriptors from the same using ASG or any other suitablefeature extraction algorithm, as similarly discussed above. After thefeatures are extracted, visual words are assigned 806. These assignedwords are then compared against an index to identify or extract the bestimage matches 808. For example, tf-idf (term frequency-inverse documentfrequency), which is a statistic reflecting how important an assignedword is to a respective image can be used as a weighting factor. Whenretrieving matching images, each query visual word essentially votes onits matched images and the tf-idf value increases proportionally to thenumber matching visual words.

In this example, each of the closest matching product images clusteredinto product groups based on overlapping visual words 810, where eachproduct group can include one or more versions of a respective product.In one example, clustering the closest matching product images intoproduct groups includes comparing the visual words of each matchingproduct image to the other product images to identity visual words incommon between respective images. When two images have a thresholdnumber of visual words in common, the two images are assigned or groupedinto the same group or equivalence class. Accordingly, a representativeimage for each product group is determined 812 and feature for eachrepresentative image are retrieved 814. A matching group for the queryimage can be determined by comparing query features to features for arepresentative image from each product group represented among the setof closest matching inventory images 816. Accordingly, differentversions of the product assigned to the matching group are ranked orscored 818. In one example, this ranking is non-visual and can be basedin part on a number of sales, freshness, seasonality, review count,projected shipping time, or user preferences. Accordingly. a highestranking version of the product from the matching group is selected 820and sent for display to a user on the computing device.

FIGS. 9A and 9B illustrate front and back views, respectively, of anexample electronic computing device 900 that can be used in accordancewith various embodiments. Although a portable computing device (e.g., asmartphone, an electronic book reader, or tablet computer) is shown, itshould be understood that any device capable of receiving and processinginput can be used in accordance with various embodiments discussedherein. The devices can include, for example, desktop computers,notebook computers, electronic book readers, personal data assistants,cellular phones, video gaming consoles or controllers, television settop boxes, and portable media players, among others.

In this example, the computing device 900 has a display screen 902(e.g., an LCD element) operable to display information or image contentto one or more users or viewers of the device. The display screen ofsome embodiments displays information to the viewers facing the displayscreen (e.g., on the same side of the computing device as the displayscreen). The computing device in this example can include one or moreimaging elements, in this example including two image capture elements904 on the front of the device and at least one image capture element910 on the back of the device. It should be understood, however, thatimage capture elements could also, or alternatively, be placed on thesides or corners of the device, and that there can be any appropriatenumber of capture elements of similar or different types. Each imagecapture element 904 and 910 may be, for example, a camera, acharge-coupled element (CCD), a motion detection sensor or an infraredsensor, or other image capturing technology.

As discussed, the device can use the images (e.g., still or video)captured from the imaging elements 904 and 910 to generate athree-dimensional simulation of the surrounding environment (e.g., avirtual reality of the surrounding environment for display on thedisplay element of the device). Further, the device can utilize outputsfrom at least one of the image capture elements 904 and 910 to assist indetermining the location and/or orientation of a user and in recognizingnearby persons, objects, or locations. For example, if the user isholding the device, the captured image information can be analyzed(e.g., using mapping information about a particular area) to determinethe approximate location and/or orientation of the user. The capturedimage information may also be analyzed to recognize nearby persons,objects, or locations (e.g., by matching parameters or elements from themapping information).

The computing device can also include at least one microphone or otheraudio capture elements capable of capturing audio data, such as wordsspoken by a user of the device, music being hummed by a person near thedevice, or audio being generated by a nearby speaker or other suchcomponent, although audio elements are not required in at least somedevices. In this example there are three microphones, one microphone 915on the front side, one microphone 912 on the back, and one microphone906 on or near a top or side of the device. In some devices there may beonly one microphone, while in other devices there might be at least onemicrophone on each side and/or corner of the device, or in otherappropriate locations.

The device 900 in this example also includes one or more orientation- orposition-determining elements 918 operable to provide information suchas a position, direction, motion, or orientation of the device. Theseelements can include, for example, accelerometers, inertial sensors,electronic gyroscopes, and electronic compasses.

The example device also includes at least one communication mechanism914, such as may include at least one wired or wireless componentoperable to communicate with one or more electronic or computingdevices. The device also includes a power system 916, such as mayinclude a battery operable to be recharged through conventional plug-inapproaches, or through other approaches such as capacitive chargingthrough proximity with a power mat or other such element. Various otherelements and/or combinations are possible as well within the scope ofvarious embodiments.

FIG. 10 illustrates a set of basic components of an electronic computingdevice 1000 such as the device 900 described with respect to FIG. 9. Inthis example, the device includes at least one processing unit 1002 forexecuting instructions that can be stored in a memory element or element1004. As would be apparent to one of ordinary skill in the art, thedevice can include many types of memory, data storage, orcomputer-readable media, such as a first data storage for programinstructions for execution by the processing unit(s) 1002, the same orseparate storage can be used for images or data, a removable memory canbe available for sharing information with other devices, and any numberof communication approaches can be available for sharing with otherdevices.

The device typically will include some type of display element 1006,such as a touch screen, electronic ink (e-ink), organic light emittingdiode (OLED) or liquid crystal display (LCD), although devices such asportable media players might convey information via other means, such asthrough audio speakers.

As discussed, the device in many embodiments will include at least oneimaging element 1008, such as one or more cameras that are able tocapture images of the surrounding environment and that are able to imagea user, people, or objects in the vicinity of the device. The imagecapture element can include any appropriate technology, such as a CCDimage capture element having a sufficient resolution, focal range, andviewable area to capture an image of the user when the user is operatingthe device. Methods for capturing images using a camera element with acomputing device are well known in the art and will not be discussedherein in detail. It should be understood that image capture can beperformed using a single image, multiple images, periodic imaging,continuous image capturing, image streaming, etc. Further, a device caninclude the ability to start and/or stop image capture, such as whenreceiving a command from a user, application, or other device.

The example computing device 1000 also includes at least one orientationdetermining element 1010 able to determine and/or detect orientationand/or movement of the device. Such an element can include, for example,an accelerometer or gyroscope operable to detect movement (e.g.,rotational movement, angular displacement, tilt, position, orientation,motion along a non-linear path, etc.) of the device 1000. An orientationdetermining element can also include an electronic or digital compass,which can indicate a direction (e.g., north or south) in which thedevice is determined to be pointing (e.g., with respect to a primaryaxis or other such aspect).

As discussed, the device in many embodiments will include at least apositioning element 1012 for determining a location of the device (orthe user of the device). A positioning element can include or comprise aGPS or similar location-determining elements operable to determinerelative coordinates for a position of the device. As mentioned above,positioning elements may include wireless access points, base stations,etc. that may either broadcast location information or enabletriangulation of signals to determine the location of the device. Otherpositioning elements may include QR codes, barcodes, RFID tags, NFCtags, etc. that enable the device to detect and receive locationinformation or identifiers that enable the device to obtain the locationinformation (e.g., by mapping the identifiers to a correspondinglocation). Various embodiments can include one or more such elements inany appropriate combination.

As mentioned above, some embodiments use the element(s) to track thelocation of a device. Upon determining an initial position of a device(e.g., using GPS), the device of some embodiments may keep track of thelocation of the device by using the element(s), or in some instances, byusing the orientation determining element(s) as mentioned above, or acombination thereof. As should be understood, the algorithms ormechanisms used for determining a position and/or orientation can dependat least in part upon the selection of elements available to the device.

The example device also includes one or more wireless components 1014operable to communicate with one or more electronic or computing deviceswithin a communication range of the particular wireless channel. Thewireless channel can be any appropriate channel used to enable devicesto communicate wirelessly, such as Bluetooth, cellular, NFC, or Wi-Fichannels. It should be understood that the device can have one or moreconventional wired communications connections as known in the art.

The device also includes a power system 1016, such as may include abattery operable to be recharged through conventional plug-inapproaches, or through other approaches such as capacitive chargingthrough proximity with a power mat or other such component. Variousother elements and/or combinations are possible as well within the scopeof various embodiments.

In some embodiments the device can include at least one additional inputelement 1018 able to receive conventional input from a user. Thisconventional input can include, for example, a push button, touch pad,touch screen, wheel, joystick, keyboard, mouse, keypad, or any othersuch component or element whereby a user can input a command to thedevice. These I/O elements could even be connected by a wirelessinfrared or Bluetooth or other link as well in some embodiments. Somedevices also can include a microphone or other audio capture elementthat accepts voice or other audio commands. For example, a device mightnot include any buttons at all, but might be controlled only through acombination of visual and audio commands, such that a user can controlthe device without having to be in contact with the device.

As discussed, different approaches can be implemented in variousenvironments in accordance with the described embodiments. For example,FIG. 11 illustrates an example of an environment 1100 for implementingaspects in accordance with various embodiments. As will be appreciated,although a Web-based environment is used for purposes of explanation,different environments may be used, as appropriate, to implement variousembodiments. The system includes an electronic client device 1102, whichcan include any appropriate device operable to send and receiverequests, messages or information over an appropriate network 1104 andconvey information back to a user of the device. Examples of such clientdevices include personal computers, cell phones, handheld messagingdevices, laptop computers, set-top boxes, personal data assistants,electronic book readers and the like. The network can include anyappropriate network, including an intranet, the Internet, a cellularnetwork, a local area network or any other such network or combinationthereof. The network could be a “push” network, a “pull” network, or acombination thereof. In a “push” network, one or more of the serverspush out data to the client device. In a “pull” network, one or more ofthe servers send data to the client device upon request for the data bythe client device. Components used for such a system can depend at leastin part upon the type of network and/or environment selected. Protocolsand components for communicating via such a network are well known andwill not be discussed herein in detail. Communication over the networkcan be enabled via wired or wireless connections and combinationsthereof. In this example, the network includes the Internet, as theenvironment includes a Web server 1106 for receiving requests andserving content in response thereto, although for other networks, analternative device serving a similar purpose could be used, as would beapparent to one of ordinary skill in the art.

The illustrative environment includes at least one application server1108 and a data store 1110. It should be understood that there can beseveral application servers, layers or other elements, processes orcomponents, which may be chained or otherwise configured, which caninteract to perform tasks such as obtaining data from an appropriatedata store. As used herein, the term “data store” refers to any deviceor combination of devices capable of storing, accessing and retrievingdata, which may include any combination and number of data servers,databases, data storage devices and data storage media, in any standard,distributed or clustered environment. The application server 1108 caninclude any appropriate hardware and software for integrating with thedata store 1110 as needed to execute aspects of one or more applicationsfor the client device and handling a majority of the data access andbusiness logic for an application. The application server providesaccess control services in cooperation with the data store and is ableto generate content such as text, graphics, audio and/or video to betransferred to the user, which may be served to the user by the Webserver 1106 in the form of HTML, XML or another appropriate structuredlanguage in this example. The handling of all requests and responses, aswell as the delivery of content between the client device 1102 and theapplication server 1108, can be handled by the Web server 1106. Itshould be understood that the Web and application servers are notrequired and are merely example components, as structured code discussedherein can be executed on any appropriate device or host machine asdiscussed elsewhere herein.

The data store 1110 can include several separate data tables, databasesor other data storage mechanisms and media for storing data relating toa particular aspect. For example, the data store illustrated includesmechanisms for storing content (e.g., production data) 1112 and userinformation 1116, which can be used to serve content for the productionside. The data store is also shown to include a mechanism for storinglog or session data 1114. It should be understood that there can be manyother aspects that may need to be stored in the data store, such as pageimage information and access rights information, which can be stored inany of the above listed mechanisms as appropriate or in additionalmechanisms in the data store 1110. The data store 1110 is operable,through logic associated therewith, to receive instructions from theapplication server 1108 and obtain, update or otherwise process data inresponse thereto. In one example, a user might submit a search requestfor a certain type of item. In this case, the data store might accessthe user information to verify the identity of the user and can accessthe catalog detail information to obtain information about items of thattype. The information can then be returned to the user, such as in aresults listing on a Web page that the user is able to view via abrowser on the user device 1102. Information for a particular item ofinterest can be viewed in a dedicated page or window of the browser.

Each server typically will include an operating system that providesexecutable program instructions for the general administration andoperation of that server and typically will include computer-readablemedium storing instructions that, when executed by a processor of theserver, allow the server to perform its intended functions. Suitableimplementations for the operating system and general functionality ofthe servers are known or commercially available and are readilyimplemented by persons having ordinary skill in the art, particularly inlight of the disclosure herein.

The environment in one embodiment is a distributed computing environmentutilizing several computer systems and components that areinterconnected via communication links, using one or more computernetworks or direct connections. However, it will be appreciated by thoseof ordinary skill in the art that such a system could operate equallywell in a system having fewer or a greater number of components than areillustrated in FIG. 11. Thus, the depiction of the system 1100 in FIG.11 should be taken as being illustrative in nature and not limiting tothe scope of the disclosure.

The various embodiments can be further implemented in a wide variety ofoperating environments, which in some cases can include one or more usercomputers or computing devices which can be used to operate any of anumber of applications. User or client devices can include any of anumber of general purpose personal computers, such as desktop or laptopcomputers running a standard operating system, as well as cellular,wireless and handheld devices running mobile software and capable ofsupporting a number of networking and messaging protocols. Such a systemcan also include a number of workstations running any of a variety ofcommercially-available operating systems and other known applicationsfor purposes such as development and database management. These devicescan also include other electronic devices, such as dummy terminals,thin-clients, gaming systems and other devices capable of communicatingvia a network.

Most embodiments utilize at least one network that would be familiar tothose skilled in the art for supporting communications using any of avariety of commercially-available protocols, such as TCP/IP, OSI, FTP,UPnP, NFS, CIFS and AppleTalk. The network can be, for example, a localarea network, a wide-area network, a virtual private network, theInternet, an intranet, an extranet, a public switched telephone network,an infrared network, a wireless network and any combination thereof.

In embodiments utilizing a Web server, the Web server can run any of avariety of server or mid-tier applications, including HTTP servers, FTPservers, CGI servers, data servers, Java servers and businessapplication servers. The server(s) may also be capable of executingprograms or scripts in response requests from user devices, such as byexecuting one or more Web applications that may be implemented as one ormore scripts or programs written in any programming language, such asJava®, C, C# or C++ or any scripting language, such as Perl, Python orTCL, as well as combinations thereof. The server(s) may also includedatabase servers, including without limitation those commerciallyavailable from Oracle®, Microsoft®, Sybase® and IBM®.

The environment can include a variety of data stores and other memoryand storage media as discussed above. These can reside in a variety oflocations, such as on a storage medium local to (and/or resident in) oneor more of the computers or remote from any or all of the computersacross the network. In a particular set of embodiments, the informationmay reside in a storage-area network (SAN) familiar to those skilled inthe art. Similarly, any necessary files for performing the functionsattributed to the computers, servers or other network devices may bestored locally and/or remotely, as appropriate. Where a system includescomputerized devices, each such device can include hardware elementsthat may be electrically coupled via a bus, the elements including, forexample, at least one central processing unit (CPU), at least one inputdevice (e.g., a mouse, keyboard, controller, touch-sensitive displayelement or keypad) and at least one output device (e.g., a displaydevice, printer or speaker). Such a system may also include one or morestorage devices, such as disk drives, optical storage devices andsolid-state storage devices such as random access memory (RAM) orread-only memory (ROM), as well as removable media devices, memorycards, flash cards, etc.

Such devices can also include a computer-readable storage media reader,a communications device (e.g., a modem, a network card (wireless orwired), an infrared communication device) and working memory asdescribed above. The computer-readable storage media reader can beconnected with, or configured to receive, a computer-readable storagemedium representing remote, local, fixed and/or removable storagedevices as well as storage media for temporarily and/or more permanentlycontaining, storing, transmitting and retrieving computer-readableinformation. The system and various devices also typically will includea number of software applications, modules, services or other elementslocated within at least one working memory device, including anoperating system and application programs such as a client applicationor Web browser. It should be appreciated that alternate embodiments mayhave numerous variations from that described above. For example,customized hardware might also be used and/or particular elements mightbe implemented in hardware, software (including portable software, suchas applets) or both. Further, connection to other computing devices suchas network input/output devices may be employed.

Storage media and computer readable media for containing code, orportions of code, can include any appropriate media known or used in theart, including storage media and communication media, such as but notlimited to volatile and non-volatile, removable and non-removable mediaimplemented in any method or technology for storage and/or transmissionof information such as computer readable instructions, data structures,program modules or other data, including RAM, ROM, EEPROM, flash memoryor other memory technology, CD-ROM, digital versatile disk (DVD) orother optical storage, magnetic cassettes, magnetic tape, magnetic diskstorage or other magnetic storage devices or any other medium which canbe used to store the desired information and which can be accessed by asystem device. Based on the disclosure and teachings provided herein, aperson of ordinary skill in the art will appreciate other ways and/ormethods to implement the various embodiments.

The specification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense. It will, however, beevident that various modifications and changes may be made thereuntowithout departing from the broader spirit and scope of the invention asset forth in the claims.

What is claimed is:
 1. A non-transitory computer-readable storage mediumstoring instructions that, when executed by at least one processor,cause a computing device to: acquire inventory images of a plurality ofproducts available for purchase from an electronic marketplace, whereininventory features are extracted from each inventory image and aninventory visual word is assigned to each inventory feature to generatea vocabulary of visual words that describe the inventory features of theproducts represented in the inventory images; receive a query image froma computing device, wherein query features are extracted from the queryimage and a query visual word is assigned to extracted features; comparequery visual words to at least a subset of the inventory visual words toidentify a set of closest matching inventory images based at least inpart on a respective number of query visual words matching a respectivenumber of inventory visual words; classify the set of closest matchinginventory images into a plurality of product groups based at least inpart on overlapping visual words, each product group of the plurality ofproduct groups including one or more versions of a respective product ofthe plurality of products available for purchase from the electronicmarketplace; determine, using a geometric verification algorithm, one ormore matching groups for the query image, wherein the geometricverification algorithm compares at least a subset of the query featuresto features of a representative image from each product grouprepresented among the set of closest matching inventory images, eachrepresentative image representing global features common to eachinventory image of a respective product group; rank different versionsof the product assigned to the one or more matching groups based atleast in part on at least one of a number of sales, freshness,seasonality, review count, projected shipping time, or user preferences;and send information for a highest ranking version of the product fromthe one or more matching groups for display on the computing device. 2.The non-transitory computer-readable storage medium of claim 1, whereinthe instructions that, when executed by the at least one processor,further cause the computing device to: discard a product group of theplurality of product groups based at least in part on at least one of amedian search score for the product group being below a threshold score.3. The non-transitory computer-readable storage medium of claim 1,wherein the instructions that, when executed by the at least oneprocessor, further cause the computing device to: store the inventoryvisual words in a lookup table including information corresponding to alocation for a respective feature corresponding to each visual word. 4.A computer-implemented method, under the control of one or more computersystems configured with executable instructions, comprising: acquiringinventory images of a plurality of objects available for purchase froman electronic marketplace, wherein inventory features are extracted fromindividual inventory images and an inventory visual word is assigned tothe inventory features to generate a vocabulary of visual wordsdescribing the inventory features of the plurality of objectsrepresented in the inventory images; receiving a query image including arepresentation of an object, the object being one of a plurality ofobjects, wherein query features are extracted from the query image and aquery visual word is assigned to individual extracted features;comparing query visual words to at least a subset of the inventoryvisual words to identify a set of closest matching inventory imagesbased at least in part on a respective number of query visual wordsmatching a respective number of inventory visual words; classifying theset of closest matching candidate images into a set of object groupsbased at least in part on overlapping visual words, each object group ofthe set of object groups including one or more versions of a respectiveobject of the plurality of objects available through the electronicmarketplace; determining, using a geometric verification algorithm, oneor more matching groups for the query image, wherein the geometricverification algorithm compares at least a subset of the query featuresto features of a representative image from each object group representedamong the set of closest matching candidate images, each representativeimage representing global features common to individual candidate imagesof a respective object group; ranking, based at least in part on atleast one of a number of sales, freshness, seasonality, review count,projected shipping time, or user preferences; and selecting a highestranking version of the object as a match for the query image.
 5. Thecomputer-implemented method of claim 4, further comprising: comparingfirst visual words of a first candidate image of the set of candidateimages to second visual words of a second candidate image of the set ofcandidate images, wherein the first candidate image and the secondcandidate image are classified into a first object group based at leastin part on a threshold number of overlapping visual words between thefirst visual words and the second visual words.
 6. Thecomputer-implemented method of claim 4, wherein selecting the highestranking version further includes: scoring, based at least in part onattributes associated with the one or more matching groups, differentversions of the object associated with the one or more matching groups;and selecting the highest scoring version of the object as a match forthe query image.
 7. The computer-implemented method of claim 4, furthercomprising: discarding an object group based at least in part on atleast one of a median search score for the object group being below aminimum threshold score.
 8. The computer-implemented method of claim 4,further comprising: acquiring inventory images of a plurality of object;extract features from each inventory image; cluster the features intoclusters and assign a cluster center to represent each cluster offeatures; and assign an inventory visual word to each cluster center. 9.The computer-implemented method of claim 8, wherein different versionsof a respective object are assigned to an object group for therespective object based at least in part on: classifying the inventoryimages into disjoint sets of equivalent images based at least in part onoverlapping visual words.
 10. The computer-implemented method of claim8, further comprising: storing the inventory visual words in a lookuptable including information corresponding to a location for a respectivefeature corresponding to each visual word.
 11. A computing system,comprising: a processor; and memory including instructions that, whenexecuted by the processor, cause the computing system to: acquireinventory images of a plurality of objects available for purchase froman electronic marketplace, wherein inventory features are extracted fromindividual inventory images and an inventory visual word is assigned tothe inventory features to generate a vocabulary of visual wordsdescribing the inventory features of the plurality of objectsrepresented in the inventory images; receive a query image from acomputing device, the query image including a representation of anobject, the object being one of a plurality of objects, wherein queryfeatures are extracted from the query image and a query visual word isassigned to individual extracted features; extract query features fromthe query image and assign a query visual word to the extractedfeatures; compare query visual words to at least a subset of databasevisual words representing a plurality of object to identify a set ofclosest matching inventory images based at least in part on a respectivenumber of query visual words matching a respective number of databasevisual words; classify, based at least in part on overlapping visualwords, the set of closest matching inventory images into a set of objectgroups, each object group of the set of object groups including one ormore versions of a respective object of the plurality of objectsavailable through the electronic marketplace; determining, using ageometric verification algorithm, one or more matching groups for thequery image, wherein the geometric verification algorithm compares atleast a subset of the query features to features of a representativeimage from each object group represented among the set of closestmatching database images, to determine one or more matching groups, fromamong the set of object groups, for the query image each representativeimage representing global features common to individual candidate imagesof a respective object group; rank, based at least in part on at leastone of a number of sales, freshness, seasonality, review count,projected shipping time, or user preferences; and select a highestranking version of the object as a match for the query image.
 12. Thecomputing system of claim 11, wherein the attributes associated with theone or more matching group include at least one of a number of sales,freshness, seasonality, review count, or projected shipping time. 13.The computing system of claim 11, wherein the instructions, whenexecuted by the processor, further enable the computing system to:discard an object group based at least in part on at least one of amedian search score for the object group being below a minimum thresholdscore.
 14. The computing system of claim 11, wherein the instructions,when executed by the processor, further enable the computing system to:store the inventory visual words in a lookup table including informationcorresponding to a location for a respective feature corresponding toeach visual word.
 15. The computing system of claim 11, whereindifferent versions of a respective object are assigned to an objectgroup for the respective object based in part on: classifying theinventory images into disjoint sets of equivalent images based at leastin part on overlapping visual words.